package com.zsx.shopping.auth.enums;

import lombok.Getter;

public enum AuthCodeMsg {

    VERIFY_CODE_INVALID(5001, "验证码无效"),

    VERIFY_CODE_WRONG(5002, "验证码错误");

    @Getter
    private Integer code;

    @Getter
    private String msg;

    AuthCodeMsg(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "AuthCodeMsg{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}
